# Makefile : Makefile
# Author: liubin <bin.lb@alipay.com>
# Created: 2011-08-22

SRCS = $(wildcard *.rst)
TARGETS = $(foreach src,  $(SRCS), $(basename $(src)).html)

.PHONY: all clean

all : $(TARGETS)

$(TARGETS) : %.html : %.rst
	rst2html --stylesheet-path weekly.css $< $@

clean :
	@rm -rf $(TARGETS)
